
#ifndef _event_flag_h
#define _event_flag_h


#include <stdint.h>

extern uint32_t event_flags;


#define EVENT_FLAG_ALL         0xffffffff
#define EVENT_FLAG_RX          0x00000001

#define SetEventFlag(x)    event_flags |= (x)
#define GetEventFlag(x)   (event_flags & (x))
#define CleanEventFlag(x)  event_flags &= ~(x)









#endif


